{extend name="public/home"/}
{block name='css'}
<link rel="stylesheet" href="/static/css/credentials.css">
    <link rel="stylesheet" href="/static/css/gaishu.css">

{/block}
{block name="content"}
        <h1>证件资料</h1>
        <div>
            <img src="{$record.credential0}" alt="">
            <p>证件正面</p>
        </div>
        <div>
            <img src="{$record.credential1}" alt="">
            <p>证件反面</p>
        </div>
        <div>
            <img src="{$record.credential2}" alt="">
            <p>银行卡正面</p>
        </div>
        <div>
            <img src="{$record.credential3}" alt="">
            <p>银行卡反面</p>
        </div>

{/block}
{block name='script'}
<script>
  $(function(){
    console.log(window.location.href);
      if(window.location.href == 'http://localhost:8086/IngeCMS/public/index.php/front/personal/cert.html') {
        $('.nav a[href = "/IngeCMS/public/index.php/front/personal/cert.html"]').parent().parent().css('display','block');
        $('.nav a[href = "/IngeCMS/public/index.php/front/personal/cert.html"]').addClass('red');
      }
  })
</script>
{/block}
